module.exports = {
  rootDir: 'src',
  moduleType: 'single',
  pageRootDir: 'views',
  pageIncludes: [ 'vue' ],
  platform: 'vue',
  router: {
    dynamicImport: true,
    mainPage: 'main',
    routes: [],
  },
  request: {
    baseUrl: '',
    timeout: 5000,
    header: {},
    // onRefreshToken: (refreshToken) => {},
    successFlag: 'success',
  },
  mf: {
    devServer: {
      port: 8091,
    },
    remote: {
      shared: {
        '@hips/icons': {
          singleton: true,
        },
        '@hips/plugin-dataset-vuex': {
          singleton: true,
        },
        vue: {
          singleton: true,
        },
        '@hips/vue-ui/es/calendar': {
          singleton: true,
        },
        '@hips/vue-ui/es/rate': {
          singleton: true,
        },
        '@hips/vue-ui/es/button': {
          singleton: true,
        },
      },
    },
  },
};
